from stacking.loader.parsing import parse_csv, default_filter
from stacking.loader.processing import process


def load_from_csv(filepath, delimiter=",", filters=(default_filter,), 
                  coordinate_identification=True, verbose=True):
    warehouse, items, actions = parse_csv(filepath, delimiter, filters, coordinate_identification)
    warehouse, items, actions = process(warehouse, items, actions, verbose=verbose)
    return warehouse, items, actions
    
    